<?php
namespace model;
/**
 * klasa opisująca relację między dwoma modelami
 *
 * @author Damian
 */
class Relation {
    public $tableName;
    public $referencedTableName;
    public $columnName;
    public $referencedColumnName;
    public $constraint;
    public function getRelationAsString(){
        return $this->tableName.".".$this->columnName."=".$this->referencedTableName.".".$this->referencedColumnName;
    }
}
